393. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:20 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

393.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto_rtl/Magento_Checkout/web/css/source/module_cart.less2016-05-15 23:42:38 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto_rtl/Magento_Checkout/web/css/source/module_cart.less2021-02-03 10:38:56 +0000

393.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged661056
Changed31117
Inserted2095
Removed1428

393.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

393.4 Active regular expressions

No regular expressions were active.

393.5 Comparison detail

1 // /** 1 // /**
2 //  * Copyright © 2015 Magento. All rights reserved. 2 //  * Copyright © 2015 Magento. All rights reserved.
3 //  * See COPYING.txt for license details. 3 //  * See COPYING.txt for license details.
4 //  */ 4 //  */
5  5 
6 @mobile-cart-padding: 15px; 6 @mobile-cart-padding: 15px;
7 @cart-price-color: @color-gray40; 7 @cart-price-color: @color-gray40;
8 @cart-item-cell-padding-top: 20px; 8 @cart-item-cell-padding-top: 20px;
9  9 
10 // 10 //
11 //  Common 11 //  Common
12 //  _____________________________________________ 12 //  _____________________________________________
13  13 
14 & when (@media-common = true) { 14 & when (@media-common = true) {
15  15 
16     // 16     //
17     //  Shopping cart 17     //  Shopping cart
18     //  --------------------------------------------- 18     //  ---------------------------------------------
19  19 
20     .checkout-cart-index { 20     .checkout-cart-index {
21         .page-main {    
22             padding-left: 0;    
23             padding-right: 0;    
24         }    
25         .page-title-wrapper { 21         .page-title-wrapper {
26             padding-left: @layout__width-xs-indent; 22             padding: 2rem 0;
27             padding-right: @layout__width-xs-indent; 23             .page-title {
    24               font-size: 1.25rem;
    25               font-weight: 700;
    26               letter-spacing: -.03em;
    27               margin-bottom: 0;
    28             }
28         } 29         }
29     } 30     }
30  31 
31     //  Cart container 32     //  Cart container
32     .cart-container { 33     .cart-container {
33         .form-cart { 34         .form-cart {
34             &:extend(.abs-shopping-cart-items all); 35             &:extend(.abs-shopping-cart-items all);
35         } 36         }
36     } 37     }
37  38 
38     //  Summary block 39     //  Summary block
39     .cart-summary { 40     .cart-summary {
    41         @border-color__base: #e7e7e7;
40         &:extend(.abs-add-box-sizing all); 42         &:extend(.abs-add-box-sizing all);
41         .lib-css(background, @sidebar__background-color); 43         .lib-css(background, @sidebar__background-color);
42         margin-bottom: @indent__m; 44         background: #fff;
43         padding: 1px 0 @indent__m; 45         border-radius: 0;
44         background: #fbfbfb; 46         padding: 24px 30px;
45         border: 1px solid #ddd; 47         border: 2px solid #e7e7e7;
46         border-radius: 8px; 48         margin-bottom: 15px;
47         > .title { 49         > .title {
48             .lib-font-size(24); 50             .lib-font-size(10);
49             display: none; 51             text-transform: uppercase;
50             font-weight: @font-weight__light; 52             font-weight: 700;
51             margin
12px 0;
 53             letter-spacing: -.01em;
    54             margin-bottom20px
;
    55             padding-bottom: 0.25rem;
    56             line-height: 19px;
    57             color: #222529;
52         } 58         }
53     
54         .block { 59         .block {
55             form:not(:last-of-type) { 60             form:not(:last-of-type) {
56                 .fieldset { 61                 .fieldset {
57                     margin: 0 @indent__m; 62                     margin: 0 10px;
58                 } 63                 }
59             } 64             }
60     
61             .price { 65             .price {
62                 font-weight: @font-weight__bold; 66                 font-weight: @font-weight__bold;
63             } 67             }
64     
65             .field { 68             .field {
66                 margin: 0 16px; 69                 margin: 0 10px;
67                 &.note { 70                 &.note {
68                     display: none; 71                     display: none;
69                 } 72                 }
70             } 73             }
71     
72             .actions-toolbar { 74             .actions-toolbar {
73                 > .primary { 75                 > .primary {
74                     text-align: right; 76                     text-align: right;
75                     .action.primary { 77                     .action.primary {
76                         &:extend(.abs-revert-to-action-secondary all); 78                         &:extend(.abs-revert-to-action-secondary all);
77                         width: auto; 79                         width: auto;
78                     } 80                     }
79                 } 81                 }
80             } 82             }
81  83 
82             .fieldset.estimate { 84             .fieldset.estimate {
83                 > .legend, 85                 > .legend,
84                 > .legend + br { 86                 > .legend + br {
85                     &:extend(.abs-no-display all); 87                     &:extend(.abs-no-display all);
86                 } 88                 }
87             } 89             }
88             &:extend(.abs-cart-block all); 90             &:extend(.abs-cart-block all);
89             .title { 91             .title {
    92                 border-color: @border-color__base;
    93                 padding-right: 10px;
    94                 &:after {
    95                     left: 13px;
    96                 }
90                 strong { 97                 strong {
91                     .lib-font-size(14); 98                   letter-spacing: -.01em;
92                     font-weight: @font-weight__semibold; 99                   
font-size14px;
    100                   font-weight: 600;
93                 } 101                 }
94             } 102             }
95             .item-options { 103             .item-options {
96                 margin: 0 16px; 104                 margin: 0 9px;
97                 .field { 105                 .field {
98                     .radio { 106                     .radio {
99                         float: right; 107                         float: right;
100                         margin-left: 8px; 108                         margin-left: 8px;
101                     } 109                     }
102                     .radio { 110                     .radio {
103                         + .label { 111                         + .label {
104                             display: block; 112                             display: block;
105                             margin: 0; 113                             margin: 0;
106                             overflow: hidden; 114                             overflow: hidden;
107                             font-weight: 400; 115                             font-weight: 400;
    116                             line-height: 1.2;
108                         } 117                         }
109                     } 118                     }
110                 } 119                 }
111             } 120             }
112         } 121         }
113     
114         .page-main & { 122         .page-main & {
115             .block { 123             .block {
116                 margin-bottom: 0; 124                 margin-bottom: 0;
117             } 125             }
118         } 126         }
119     
120         .checkout-methods-items { 127         .checkout-methods-items {
121             &:extend(.abs-reset-list all); 128             &:extend(.abs-reset-list all);
122             margin: @indent__base 0 0; 129             margin: @indent__base 0 0;
123             padding: 0 @mobile-cart-padding;    
124             text-align: center; 130             text-align: center;
125             .action.primary.checkout { 131             .action.primary.checkout {
126                 &:extend(.abs-button-l all); 132                 &:extend(.abs-button-l all);
127                 width: 100%; 133                 width: 100%;
    134                 font-size: 15px;
    135                 letter-spacing: -.015em;
    136                 color: #fff;
    137                 background-color: #222529;
    138                 border: none;
    139                 &:hover {
    140                   background-color: #31373d;
    141                 }
    142                 &::after {
    143                   content: '\e8c4';
    144                   font-family: 'porto-icons';
    145                   padding-left: 1rem;
    146                 }
128             } 147             }
129             .item { 148             .item {
130                 margin-bottom: @indent__m; 149                 margin-bottom: @indent__m;
131                 &:last-child { 150                 &:last-child {
132                     margin-bottom: 0; 151                     margin-bottom: 0;
133                 } 152                 }
134             } 153             }
135         } 154         }
136     
137         .message { 155         .message {
138             padding-right: @indent__base; 156             padding-left: @indent__base;
139             > *:first-child:before { 157             > *:first-child:before {
140                 display: none; 158                 display: none;
141             } 159             }
142         } 160         }
143         &:extend(.abs-adjustment-incl-excl-tax all); 161         &:extend(.abs-adjustment-incl-excl-tax all);
144     } 162     }
145  163 
146     //  Totals block 164     //  Totals block
147     .cart-totals { 165     .cart-totals {
    166         @border-color__base: #e7e7e7;
    167         font-size: 13px;
    168         padding: 0;
148         &:extend(.abs-sidebar-totals all); 169         &:extend(.abs-sidebar-totals all);
    170         border-color: @border-color__base;
149         tbody, 171         tbody,
150         tfoot { 172         tfoot {
    173           .mark,.amount {
    174             padding: 5px 10px;
    175             text-align: right;
    176           }
    177           .grand.totals {
    178             .amount,.mark {
    179               border-color: @border-color__base;
    180             }
151             .mark { 181             .mark {
152                 text-align: right; 182                 text-align: right;
    183                 padding: 18px 12px;
    184                 font-size: 1rem;
    185                 letter-spacing: -.01em;
    186                 font-weight: 600;
    187                 color: #222529;
    188                 line-height: 19px;
    189             }
    190             .amount {
    191               color: #222529;
    192               text-align: left;
    193               font-weight: 700;
    194               font-size: 22px;
    195               padding: 10px;
    196               line-height: 1.4;
    197             }
    198             strong {
    199               margin: 0;
    200               font-weight: inherit;
    201               line-height: inherit;
    202               padding: 0;
    203             }
153             } 204           }
154         } 205         }
155     } 206     }
156  207 
157     //  Products table 208     //  Products table
158     .cart { 209     .cart {
    210       @border-color__base: #e7e7e7;
159         &.table-wrapper { 211         &.table-wrapper {
160             .product-item-name > a { 212             .product-item-name > a {
161                 font-size: 14px; 213                 font-size: 14px;
    214                 font-weight: 500;
    215                 margin-bottom: 0;
162                 &, &:hover { 216                 &, &:hover {
163                     color: @_link-color; 217                     color: #222529;
164                 } 218                 }
165             } 219             }
166             .product-image-container { 220             .product-image-container {
167                 border: 1px solid #ccc; 221                 background: none;
168                 border-radius: 5px; 222                 display: block;
169                 padding: 3px;    
170             } 223             }
171             .cart { 224             .cart {
172                 thead { 225                 thead {
173                     tr th.col { 226                   tr th.col {
174                         border-bottom: @border-width__base solid @border-color__base; 227                     border-bottom: @border-width__base solid @border-color__base;
175                         padding-bottom: 12px; 228                     padding
10px;
176                         padding-top24px;    
177                         font-size: 14px; 229                     font-size: 14px;
178                         font-weight: 600; 230                     font-weight: 600;
    231                     color: #212529;
    232                     text-transform: uppercase;
    233                     text-align: right;
    234                     &.subtotal {
    235                       text-align: left;
    236                     }
179                     } 237                   }
180                 } 238                 }
181                 tbody { 239                 tbody {
182                     td { 240                     td {
183                         border: 0; 241                         border: 0;
184                     } 242                     }
185                 } 243                 }
186                 > .item { 244                 > .item {
187                     border-bottom: @border-width__base solid @border-color__base; 245                     border-bottom: @border-width__base solid @border-color__base;
188                     position: relative; 246                     position: relative;
189                 } 247                 }
190             } 248             }
191             .col { 249             .col {
192                 vertical-align: middle; 250                 vertical-align: middle;
193                 &.price, 251                 &.price,
194                 &.subtotal, 252                 &.subtotal,
195                 &.msrp { 253                 &.msrp {
196                     font-size: 14px; 254                     font-size: 14px;
197                     text-aligncenter; 255                     text-align: right;
198                     &:extend(.abs-incl-excl-tax all); 256                     .price {
    257                       font-size: 14px;
    258                       font-weight: inherit;
    259                     }
    260                 }
    261                 &.subtotal {
    262                   text-alignleft;
    263                   .price {
    264                     color: #222529 !important;
    265                     font-size: 16px;
    266                     font-weight: 600 !important;
199                 } 267                   }
200                 &.subtotal .price {    
201                     color: @theme-color;    
202                 } 268                 }
203                 &.qty { 269                 &.qty {
204                     text-aligncenter; 270                     text-alignright;
205                     .label { 271                     .label {
206                         &:extend(.abs-visually-hidden all); 272                         &:extend(.abs-visually-hidden all);
207                     } 273                     }
208                     .input-text {    
209                         text-align: center;    
210                         width: 45px;    
211                     }    
212                     .field.qty { 274                     .field.qty {
213                         min-width: 67px; 275                       position: relative;
    276                       display: inline-block;
214                     } 277                     }
215                 } 278                 }
216                 > .price { 279                 > .price {
217                     .lib-css(color, @primary__color__lighter); 280                     .lib-font-size(10);
218                     .lib-font-size(18);    
219                     font-weight: @font-weight__bold;    
220                 } 281                 }
221             } 282             }
222  283 
223             .item-actions { 284             .item-actions {
224                 td { 285                 td {
225                     padding-bottom: 0; 286                     padding-bottom: 0;
226                     padding-left: @mobile-cart-padding; 287                     padding-left: @mobile-cart-padding;
227                     padding-right: @mobile-cart-padding; 288                     padding-right: @mobile-cart-padding;
228                     white-space: normal; 289                     white-space: normal;
229                 } 290                 }
230             } 291             }
231             .item { 292             .item {
232                 .col.item { 293                 .col.item {
233                     display: block; 294                     display: block;
234                     min-height: 75px; 295                     min-height: 75px;
235                     padding: 15px 90px @indent__s @mobile-cart-padding; 296                     padding: 20px 10px;
236                     position: relative; 297                     position: relative;
237                 } 298                 }
238             } 299             }
239  300 
240             .actions-toolbar { 301             .actions-toolbar {
241                 &:extend(.abs-add-clearfix all); 302                 &:extend(.abs-add-clearfix all);
242                 min-height: 20px; 303                 min-height: 20px;
243                 padding-bottom: 30px; 304                 padding-bottom: 30px;
244                 position: relative; 305                 position: relative;
245                 > .action-edit, 306                 > .action-edit,
246                 > .action-delete { 307                 > .action-delete {
247                     position: absolute; 308                     position: absolute;
248                     left: 16px; 309                     left: 16px;
    310                     right: auto;
249                     top: 0; 311                     top: 0;
250                     .lib-icon-font( 312                     .lib-icon-font(
251                     @icon-edit, 313                     @icon-edit,
252                     @_icon-font-size: 18px, 314                     @_icon-font-size: 18px,
253                     @_icon-font-line-height: 20px, 315                     @_icon-font-line-height: 20px,
254                     @_icon-font-text-hide: true, 316                     @_icon-font-text-hide: true,
255                     @_icon-font-color: @minicart-icons-color, 317                     @_icon-font-color: #222529,
256                     @_icon-font-color-hover: @primary__color, 318                     @_icon-font-color-hover: @primary__color,
257                     @_icon-font-color-active: @minicart-icons-color 319                     @_icon-font-color-active: @minicart-icons-color
258                     ); 320                     );
259                 } 321                 }
260                 > .action-delete { 322                 > .action-delete {
261                     &:extend(.abs-action-button-as-link all); 323                     &:extend(.abs-action-button-as-link all);
262                     left: 0; 324                     left: 0;
263                     .lib-icon-font-symbol( 325                     .lib-icon-font-symbol(
264                     @_icon-font-content: @icon-trash 326                     @_icon-font-content: @icon-trash
265                     ); 327                     );
266                 } 328                 }
267             } 329             }
268             .action { 330             .action {
269                 margin-left: 15px; 331                 margin-left: 15px;
270                 &:last-child { 332                 &:last-child {
271                     margin-left: 0; 333                     margin-left: 0;
272                 } 334                 }
273                 &.help.map { 335                 &.help.map {
274                     &:extend(.abs-action-button-as-link all); 336                     &:extend(.abs-action-button-as-link all);
275                     font-weight: @font-weight__regular; 337                     font-weight: @font-weight__regular;
276                 } 338                 }
277             } 339             }
278  340 
279             .product { 341             .product {
280                 &-item-photo { 342                 &-item-photo {
281                     display: block; 343                     display: block;
282                     right: @mobile-cart-padding; 344                     left: @mobile-cart-padding;
283                     max-width: 65px; 345                     max-width: 80px;
284                     padding: 0; 346                     padding: 0;
285                     position: absolute; 347                     position: absolute;
286                     top: 15px; 348                     top: 15px;
287                     width: 100%; 349                     width: 100%;
288                     border: 0; 350                     border: 0;
289                     border-radius: 0; 351                     border-radius: 0;
    352                     &:hover {
    353                       box-shadow: none;
    354                     }
290                 } 355                 }
291                 &-item-name { 356                 &-item-name {
292                     .lib-font-size(18); 357                     .lib-font-size(10);
293                     display: block; 358                     display: block;
294                     margin: 0; 359                     margin: 0;
295                     margin-top10px; 360                     margin-top0;
296                 } 361                 }
297             } 362             }
298             .gift-registry-name-label { 363             .gift-registry-name-label {
299                 &:after { 364                 &:after {
300                     content: ':'; 365                     content: ':';
301                 } 366                 }
302             } 367             }
303  368 
304             //  Product options 369             //  Product options
305             .item-options { 370             .item-options {
306                 margin-bottom: 0; 371                 margin-bottom: 0;
307                 &:extend(.abs-product-options-list all); 372                 &:extend(.abs-product-options-list all);
308                 &:extend(.abs-add-clearfix all); 373                 &:extend(.abs-add-clearfix all);
309             } 374             }
310  375 
311             .product-item-name + .item-options { 376             .product-item-name + .item-options {
312                 margin-top@indent__base; 377                 margin-top8px;
313             } 378             }
314  379 
315             .cart-tax-total { 380             .cart-tax-total {
316                 &:extend(.abs-tax-total all); 381                 &:extend(.abs-tax-total all);
317                 &-expanded { 382                 &-expanded {
318                     &:extend(.abs-tax-total-expanded all); 383                     &:extend(.abs-tax-total-expanded all);
319                 } 384                 }
320             } 385             }
321             .product-image-wrapper { 386             .product-image-wrapper {
322                 &:extend(.abs-reset-image-wrapper all); 387                 &:extend(.abs-reset-image-wrapper all);
323             } 388             }
324             .action.configure { 389             .action.configure {
325                 display: inline-block; 390                 display: inline-block;
326                 margin: @indent__s 0 0; 391                 margin: @indent__s 0 0;
327             } 392             }
328             .item .message { 393             .item .message {
329                 margin-top: @indent__base; 394                 margin-top: @indent__base;
330             } 395             }
331         } 396         }
    397         &.actions {
    398           &:extend(.abs-action-cart-button all);
    399         }
332     } 400     }
333  401 
334     //  Discount 402     //  Discount
335     .cart-discount { 403     .cart-discount {
336         border-bottom: @border-width__base solid @border-color__base; 404         border-bottom: @border-width__base solid @border-color__base;
337         clear: right; 405         clear: right;
338         &:extend(.abs-discount-block all); 406         &:extend(.abs-discount-block all);
    407         margin-top: -60px;
    408         .block > .title {
    409           display: none;
    410         }
    411         .actions-toolbar {
    412           &:extend(.abs-action-cart-button all);
    413         }
339     } 414     }
340  415 
341     //  Empty cart 416     //  Empty cart
342     .cart-empty { 417     .cart-empty {
343         padding-left: @layout__width-xs-indent; 418         padding-left: 10px;
344         padding-right: @layout__width-xs-indent; 419         padding-right: 10px;
345     } 420     }
346  421 
347     .cart-tax-info + .cart-tax-total { 422     .cart-tax-info + .cart-tax-total {
348         display: block; 423         display: block;
349     } 424     }
350 } 425 }
351  426 
352 // 427 //
353 //  Mobile 428 //  Mobile
354 //  _____________________________________________ 429 //  _____________________________________________
355  430 
356 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { 431 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
357     .cart { 432     .cart {
358         .table.items { 433         .table.items {
359             .col.item, 434             .col.item,
360             .item-actions td { 435             .item-actions td {
361                 &:extend(.abs-col-no-prefix all); 436                 &:extend(.abs-col-no-prefix all);
362             } 437             }
363             .col.qty { 438             .col.qty {
364                 text-align: center; 439                 text-align: center;
365             } 440             }
366             tbody > tr > td:last-child { 441             tbody > tr > td:last-child {
367                 &:extend(.abs-no-border-bottom-top all); 442                 &:extend(.abs-no-border-bottom-top all);
368             } 443             }
369         } 444         }
370     } 445     }
371     .cart-totals { 446     .cart-totals {
372         .totals { 447         .totals {
373             &:extend(.abs-sidebar-totals-mobile all); 448             &:extend(.abs-sidebar-totals-mobile all);
374         } 449         }
375     } 450     }
376 } 451 }
377  452 
378 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { 453 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
379     //  Cart container 454     //  Cart container
    455     @border-color__base: #e7e7e7;
380     .cart-container { 456     .cart-container {
381         .form-cart { 457         .form-cart {
382             .actions.main { 458             .actions.main {
383                 text-align: center; 459                 text-align: center;
384             } 460             }
385         } 461         }
386     } 462     }
387  463 
388     .cart-discount { 464     .cart-discount {
389         border-bottom: @border-width__base solid @border-color__base; 465         border-bottom: @border-width__base solid @border-color__base;
    466         margin-top: 0;
390     } 467     }
391  468 
392     .cart { 469     .cart {
393         &.table-wrapper { 470         &.table-wrapper {
394             border-top: @border-width__base solid @border-color__base; 471           border-top: @border-width__base solid @border-color__base;
395             thead { 472           thead {
396                 .col { 473               .col {
397                     &.item, 474                   &.item,
398                     &.qty, 475                   &.qty,
399                     &.price, 476                   &.price,
400                     &.subtotal, 477                   &.subtotal,
401                     &.msrp { 478                   &.msrp {
402                         display: none; 479                       display: none;
403                     } 480                   }
404                 } 481               }
405             } 482           }
406             .col { 483           .col {
    484               &.item,
407                 &.qty, 485               &.qty,
408                 &.price, 486               &.price,
409                 &.subtotal, 487               &.subtotal,
410                 &.msrp { 488               &.msrp {
411                     box-sizing: border-box; 489                   box-sizing: border-box;
412                     display: block; 490                   display: block;
413                     float: right; 491                   float: none;
414                     white-space: nowrap; 492                   white-space: nowrap;
415                     width: 33%; 493                   width: 100%;
    494                   text-align: center;
416                     &:before { 495                   &:before {
417                         content: attr(data-th); 496                       content: attr(data-th);
418                         display: block; 497                       display: block;
419                         font-weight: @font-weight__semibold; 498                       font-weight: @font-weight__semibold;
420                         padding-bottom: 10px; 499                       padding-bottom: 10px;
421                     } 500                   }
422                 } 501               }
423                 &.msrp { 502               &.msrp {
424                     white-space: normal; 503                   white-space: normal;
425                 } 504               }
426             } 505           }
427             .item .col.item { 506           .item .col.item {
428                 padding-bottom: 0; 507               padding-bottom: 0;
429             } 508           }
430             tbody > tr > td:last-child { 509           tbody > tr > td:last-child {
431                 border: 0; 510               border: 0;
432             } 511           }
    512           .product-item-photo {
    513             position: relative;
    514             left: 0;
    515             top: 0;
    516             margin: 0 auto 10px;
    517             min-height: auto;
    518           }
    519           .product-item-name + .item-options {
    520               margin-top: 0;
    521               text-align: center;
    522               display: inline-block;
    523           }
    524           .product-item-details {
    525             text-align: center;
    526           }
433         } 527         }
434     } 528     }
435  529 
436     .cart-totals { 530     .cart-totals {
437         padding-left: @mobile-cart-padding;    
438         padding-right: @mobile-cart-padding;    
439         .table-wrapper { 531         .table-wrapper {
440             border-top: 0; 532             border-top: 0;
441         } 533         }
442         .totals { 534         .totals {
443             tbody > tr:not(:last-child) > td:last-child { 535             tbody > tr:not(:last-child) > td:last-child {
444                 border: 0; 536                 border: 0;
445             } 537             }
446         } 538         }
447     } 539     }
448 } 540 }
449  541 
450 // 542 //
451 //  Common 543 //  Common
452 //  _____________________________________________ 544 //  _____________________________________________
453  545 
454 & when (@media-common = true) { 546 & when (@media-common = true) {
455     //  Cross sell 547     //  Cross sell
456     .block { 548     .block {
457         &.crosssell { 549         &.crosssell {
458             .lib-css(padding, 0 @mobile-cart-padding); 550             .lib-css(padding, 0 @mobile-cart-padding);
459             margin-top: 70px; 551             margin-top: 70px;
460             .product-item-info { 552             .product-item-info {
461                 width: 200px; 553                 width: 200px;
462             } 554             }
463         } 555         }
464     } 556     }
465 } 557 }
466  558 
467 // 559 //
468 //  Desktop 560 //  Desktop
469 //  _____________________________________________ 561 //  _____________________________________________
470  562 
471 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { 563 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
472     .checkout-cart-index { 564     .checkout-cart-index {
473         .page-main { 565         .page-main {
474             padding-left: @layout__width-xs-indent; 566             padding-left: 10px;
475             padding-right: @layout__width-xs-indent; 567             padding-right: 10px;
476         } 568         }
477         .page-title-wrapper { 569         .page-title-wrapper {
478             &:extend(.abs-revert-side-paddings all); 570             &:extend(.abs-revert-side-paddings all);
479         } 571         }
480     } 572     }
481  573 
482     //  Cart container 574     //  Cart container
483     .cart-container { 575     .cart-container {
484         &:extend(.abs-add-clearfix-desktop all); 576         &:extend(.abs-add-clearfix-desktop all);
485         .form-cart { 577         .form-cart {
486             &:extend(.abs-shopping-cart-items-desktop all); 578             &:extend(.abs-shopping-cart-items-desktop all);
487             .actions.main { 579             .actions.main {
488                 text-align: left; 580                 text-align: left;
489             } 581             }
490         } 582         }
491         .widget { 583         .widget {
492             float: right; 584             float: left;
493         } 585         }
494     } 586     }
495  587 
496     //  Summary block 588     //  Summary block
497     .cart-summary { 589     .cart-summary {
498         .lib-layout-column(2, 2, @layout-column-checkout__width-left); 590         .lib-layout-column(2, 2, @layout-column-checkout__width-left);
    591         padding: 24px 30px;
499         float: left; 592         float: left;
500         padding: 1px @indent__base @indent__m;    
501             
502         > .title { 593         > .title {
503             display: block; 594             display: block;
504         } 595         }
505         .fieldset { 596         .fieldset {
506             .actions-toolbar { 597             .actions-toolbar {
507                 margin-right: 0; 598                 margin-left: 0;
508                 > .secondary { 599                 > .secondary {
509                     float: none; 600                     float: none;
510                 } 601                 }
511             } 602             }
512         } 603         }
513         .block { 604         .block {
514             > .title {    
515                 padding-right: 0;    
516                 &:after {    
517                     left: 3px;    
518                 }    
519             }    
520             .content { 605             .content {
521                 &:extend(.abs-revert-side-paddings all); 606                 padding-left: 10px;
    607                 padding-right: 10px;
522             } 608             }
523             .fieldset { 609             .fieldset {
524                 .field { 610                 .field {
525                     .lib-form-field-type-revert(@_type: block); 611                     .lib-form-field-type-revert(@_type: block);
526                     margin: 0 0 @indent__s; 612                     margin: 0 0 @indent__s;
527                 } 613                 }
528             } 614             }
529         } 615         }
530         .checkout-methods-items { 616         .checkout-methods-items {
531             padding: 0; 617             padding: 0;
532         } 618         }
533     } 619     }
534  620 
535     //  Products table 621     //  Products table
536     .cart { 622     .cart {
537         &.table-wrapper { 623         &.table-wrapper {
538             .items { // Google Chrome version 44.0.2403.107 m fix 624             .items { // Google Chrome version 44.0.2403.107 m fix
539                 min-width: 100%; 625                 min-width: 100%;
540                 width: auto; 626                 width: auto;
541             } 627             }
542             tbody td { 628             tbody td {
543                 padding-top: @cart-item-cell-padding-top; 629                 padding-top: @cart-item-cell-padding-top;
544             } 630             }
545  631 
546             .item { 632             .item {
547                 .col.item { 633                 .col.item {
548                     padding: @cart-item-cell-padding-top 8px @indent__base 0; 634                     padding: 20px 10px;
549                 } 635                 }
550             } 636             }
551  637 
552             .item-actions td { 638             .item-actions td {
553                 padding: 0; 639                 padding: 0;
554             } 640             }
555  641 
556             .product { 642             .product {
557                 &-item-photo { 643                 &-item-photo {
558                     display: table-cell; 644                     display: table-cell;
559                     max-width: 100%; 645                     max-width: 98px;
560                     padding-left: @indent__base; 646                     padding-left: @indent__base;
561                     position: static; 647                     position: static;
562                     vertical-align: middle; 648                     vertical-align: middle;
563                     width: 1%; 649                     width: 1%;
564                 } 650                 }
565                 &-item-details { 651                 &-item-details {
566                      652 
567                 } 653                 }
568                 &-item-details { 654                 &-item-details {
569                     display: table-cell; 655                     display: table-cell;
570                     vertical-align: middle; 656                     vertical-align: middle;
571                     white-space: normal; 657                     white-space: normal;
572                     width: 99%; 658                     width: 99%;
573                 } 659                 }
574             } 660             }
575         } 661         }
576     } 662     }
577  663 
578     //  Discount 664     //  Discount
579     .cart-discount { 665     .cart-discount {
580         &:extend(.abs-discount-block-desktop all); 666         &:extend(.abs-discount-block-desktop all);
581         .lib-layout-column(2, 1, @layout-column-checkout__width-main); 667         .lib-layout-column(2, 1, @layout-column-checkout__width-main);
582         float: right; 668         float: right;
583         border: 0; 669         border: 0;
584         box-sizing: border-box; 670         box-sizing: border-box;
585         padding-left: 4%; 671         padding-left: 4%;
586     } 672     }
587  673 
588     //  Empty cart 674     //  Empty cart
589     .cart-empty { 675     .cart-empty {
590         &:extend(.abs-revert-side-paddings all); 676         &:extend(.abs-revert-side-paddings all);
591     } 677     }
592  678 
593     //  Cross sell 679     //  Cross sell
594     .block { 680     .block {
595         &.crosssell { 681         &.crosssell {
596             .lib-layout-column(2, 1, @layout-column-checkout__width-main); 682             .lib-layout-column(2, 1, @layout-column-checkout__width-main);
597             &:extend(.abs-add-box-sizing-desktop all); 683             &:extend(.abs-add-box-sizing-desktop all);
598             float: right; 684             float: right;
599             padding: 0 0 0 4%; 685             padding: 0 0 0 4%;
600             .products-grid .product-item { 686             .products-grid .product-item {
601                 width: 100%/4; 687                 width: 100%/4;
602             } 688             }
603         } 689         }
604     } 690     }
605 } 691 }